#include "contrlDevices.h"



int deviceFireInit()
{
	pinMode(FIRE_PIN,INPUT);
	//digitalWrite(FIRE_PIN,HIGH);
}

int deviceFireReadStatus()
{
	digitalRead(FIRE_PIN);
}

contrl deviceFire = {
	.devicesName = "deviceFire",
	.readStatus = deviceFireReadStatus,
	.deviceInit = deviceFireInit
};

contrl *addDeviceFireToDeviceLink(contrl *phead)
{
	if(phead != NULL) deviceFire.next = phead;
	return &deviceFire;
}